package com.example.farmrental.dto;

import java.math.BigDecimal;
import java.util.List;

/**
 * 套餐数据传输对象
 * 用于接收前端的新增或修改请求
 */
public class SetmealDto {

    private String name;
    private String category;
    private BigDecimal totalPrice;
    private String image;
    private String status;
    private List<Long> machineryIds; // 接收关联的农机ID列表

    // Getters and Setters

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public BigDecimal getTotalPrice() {
        return totalPrice;
    }

    public void setTotalPrice(BigDecimal totalPrice) {
        this.totalPrice = totalPrice;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public List<Long> getMachineryIds() {
        return machineryIds;
    }

    public void setMachineryIds(List<Long> machineryIds) {
        this.machineryIds = machineryIds;
    }
}